Skip to main content

Cancel a ticket

Request

This method cancels a ticket by its ID for a user with permission to view this request.

Security
BearerAuth
Path
idstring, [ 1 .. 100 ] charactersrequired

Identifier of the ticket.

Bodyapplication/jsonrequired

The ticket to be cancelled.

reasonstring, [ 5 .. 4000 ] charactersrequired

Description of the trouble or issue.

Example:"Duplicate ticket was raised, and issue was already resolved. Refer to ticket id 1-100000000000."
attachmentsArray of objects, <= 5 items(Attachment)

File(s) attached to the ticket. e.g. picture of broken device, scanned copy of bill or charge. To learn about including attachments in your request, see POST Attachments API.

Payload
{ "reason": "Duplicate ticket was raised, and issue was already resolved. Refer to ticket id 1-100000000000.", "attachments": [ { … } ] }

Responses

Accepted

Headers
Locationstring

Location of a ticket

Example:"/tickets/1-23232322"
Response
No content
Was this page helpful?